import request from '@/utils/request'

// 查询工艺设计整经表列表
export function listGy_warping(query) {
  return request({
    url: '/gongyi/gy_warping/list',
    method: 'get',
    params: query
  })
}

// 查询工艺设计整经表详细
export function getGy_warping(id) {
  return request({
    url: '/gongyi/gy_warping/' + id,
    method: 'get'
  })
}

// 新增工艺设计整经表
export function addGy_warping(data) {
  return request({
    url: '/gongyi/gy_warping',
    method: 'post',
    data: data
  })
}

// 修改工艺设计整经表
export function updateGy_warping(data) {
  return request({
    url: '/gongyi/gy_warping',
    method: 'put',
    data: data
  })
}

// 删除工艺设计整经表
export function delGy_warping(id) {
  return request({
    url: '/gongyi/gy_warping/' + id,
    method: 'delete'
  })
}

// 导出工艺设计整经表
export function exportGy_warping(query) {
  return request({
    url: '/gongyi/gy_warping/export',
    method: 'get',
    params: query
  })
}